package com.jianz.campus_markets.controller;


import com.jianz.campus_markets.domain.ResponseResult;
import com.jianz.campus_markets.domain.entity.SysMenu;
import com.jianz.campus_markets.service.SysMenuService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 菜单权限表 前端控制器
 * </p>
 *
 * @author jianz
 * @since 2023-11-27
 */
@RestController
@RequestMapping("/menu")
public class MenuController {

    @Autowired
    private SysMenuService sysMenuService;

    @GetMapping("/load")
    @ApiOperation(value = "功能菜单模块(没啥用)")
    public ResponseResult load(){

        return sysMenuService.load();
    }
}

